package com.quick.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.quick.common.annotation.Excel;
import com.quick.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 部门对象 sys_dept
 *
 * @Author: 吃素不吃肉
 * @Date: Tue Jul 25 14:29:19 CST 2023
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "部门")
public class SysDept extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 部门id */
    @ApiModelProperty(value = "部门id")
    private Long deptId;

    /** 父部门id */
    @Excel(name = "父部门id")
    @ApiModelProperty(value = "父部门id")
    private Long parentId;

    /** 祖级列表 */
    @Excel(name = "祖级列表")
    @ApiModelProperty(value = "祖级列表")
    private String ancestors;

    /** 部门名称 */
    @Excel(name = "部门名称")
    @ApiModelProperty(value = "部门名称")
    private String deptName;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    @ApiModelProperty(value = "显示顺序")
    private Long orderNum;

    /** 负责人 */
    @Excel(name = "负责人")
    @ApiModelProperty(value = "负责人")
    private String leader;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    @ApiModelProperty(value = "邮箱")
    private String email;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    @ApiModelProperty(value = "状态（0正常 1停用）")
    private String status;

    /** 删除标志（0存在 2删除） */
    @ApiModelProperty(value = "删除标志（0存在 2删除）")
    private String delFlag;

}
